Repository navigation
crypto: P-256 on BearSSL, with BearSSL's ECDSA nonce fix pinned and hash's canary at the new pin - #49
Merged
Merged
Conversation
added 16 commits
November 20, 2026 23:28
…ily's further operation by its name and refuses one crypto.json does not state
…bea48e with one fix: ECDSA decodes the RFC 6979 nonce at its full length, so that signing no longer branches on the nonce's bit length
…, webcpporg/bearssl's webcpp branch
… fork, upstream 7bea48e with the one fix to ECDSA's nonce decoding
…g/bearssl's webcpp branch, the exception chapter 5 rule 1 now allows, and P-256's constant-time checkers as they ran, the leak they found and its fix
…381d6, and libs/hash is at the commit that moves it
…rving and reported upstream, and a library without a mirror takes one in a fork
…are marked merged
… main only in the BearSSL pin
…t the pin 32381d6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
webcppbranch: upstream 7bea48e plus one fix, found by crypto's memcheck and MemorySanitizer lane, so that ECDSA signing no longer branches on the RFC 6979 nonce's bit length. CODING-GUIDELINES chapter 5 rule 1 states the exception (a minimal, value-preserving security fix upstream lacks, reported upstream); the canary fixtures and the third_party tests name the new pin.Verified locally: native clang and gcc-15, wasip2, wasip3 and Emscripten, debug and release, for crypto; native clang and gcc-15 for crypto and hash after the last merges; the tools tests (crypto_jamfiles, hash_jamfiles, third_party, crypto_collect); the macOS full lint; the Linux lint (changed mode); MSVC 14.3 and 14.5; the constant-time lane natively and in an arm64 Linux container. CI deferred to the coordinator's final run.